The Dreamweaver JavaScript API > Menu functions > dreamweaver.notifyMenuUpdated()

 

dreamweaver.notifyMenuUpdated()

Availability

Dreamweaver 3.0

Description

Notifies Dreamweaver when the specified menu needs to be updated.

Arguments

menuId, menuListFunction

menuId is a string containing the value of the id attribute for the menu item (as specified in the menus.xml file).
menuListFunction must be one of the following strings: "dw.cssStylePalette.getStyles()", "dw.getDocumentDOM().getFrameNames()", "dw.getDocumentDOM().getEditableRegionList", "dw.getBrowserList()", "dw.getRecentFileList()", "dw.getTranslatorList()", "dw.getFontList()", "dw.getDocumentList()", "dw.htmlStylePalette.getStyles()", or "site.getSites()".

Returns

Nothing.

Enabler

None.